package com.qianfeng.dbsm.vo;


import com.qianfeng.dbsm.common.PageInfo;
import com.qianfeng.dbsm.entity.TbOrder;
import com.qianfeng.dbsm.entity.TbOrderDetail;

import java.util.Date;
import java.util.List;

/**
 * 订单VO
 */
public class OrderVo extends PageInfo {

    List<OrderDetailVo> orderDetailVoList; //该订单下的所有商品信息

    private Integer id;
    /**
     * 订单编号
     */
    private String orderNumber;
    /**
     * 用户编号 对应tb_member表
     */
    private Integer memberId;
    /**
     * 订单状态  对应codemap表
     */
    private Integer orderState;
    /**
     * 订单创建时间
     */
    private Date orderTime;
    /**
     * 订单支付时间
     */
    private Date payTime;
    /**
     * 订单支付金额
     */
    private Double payPrice;
    /**
     * 支付方式 对应codemap表
     */
    private Integer payment;
    /**
     * 收货地址信息 对应 用户收货地址 id
     */
    private String addressId;

    /**
     * 经销商id
     */
    private Integer sellerId;

    public Integer getSellerId() {
        return sellerId;
    }

    public void setSellerId(Integer sellerId) {
        this.sellerId = sellerId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public Integer getMemberId() {
        return memberId;
    }

    public void setMemberId(Integer memberId) {
        this.memberId = memberId;
    }

    public Integer getOrderState() {
        return orderState;
    }

    public void setOrderState(Integer orderState) {
        this.orderState = orderState;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public Double getPayPrice() {
        return payPrice;
    }

    public void setPayPrice(Double payPrice) {
        this.payPrice = payPrice;
    }

    public Integer getPayment() {
        return payment;
    }

    public void setPayment(Integer payment) {
        this.payment = payment;
    }

    public String getAddressId() {
        return addressId;
    }

    public void setAddressId(String addressId) {
        this.addressId = addressId;
    }

    public List<OrderDetailVo> getOrderDetailVoList() {
        return orderDetailVoList;
    }

    public void setOrderDetailVoList(List<OrderDetailVo> orderDetailVoList) {
        this.orderDetailVoList = orderDetailVoList;
    }
}
